import { WeaTools } from 'ecCom';
// 收文管理获取Tab、Form表单数据
export const getTabFormData = () => WeaTools.callApi('/api/odocExchange/exchangeReceive/getTabsForm', 'POST', '');
// 收文管理获取table数据
export const getTableList = params => WeaTools.callApi('/api/odocExchange/exchangeReceive/getReceiveList', 'POST', params);
// 签收、拒收、退回、接口
export const handle = params => WeaTools.callApi('/api/odocExchange/exchangeReceive/manageDocument', 'POST', params);
// 文档下载
export const fileDownload = params => WeaTools.callApi('/weaver/weaver.file.FileDownload', 'GET', params);
// 获取拒收、退回弹框的form
export const getReason = params => WeaTools.callApi('/api/odocExchange/exchangeReceive/manageReasonCondition', 'POST', params);
